import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import {App as AntdApp} from 'antd';

import {Provider} from "react-redux";
import store from "./redux/store";

const root = ReactDOM.createRoot(
  document.getElementById('root') as HTMLElement
);
root.render(
  <React.Fragment>
      <AntdApp>
          <Provider store={store}>
              <App />
          </Provider>
      </AntdApp>
  </React.Fragment>
);